﻿@model ShenLanCMS.Models.Siteinfo
@{
    ViewBag.Title = "站点设置";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>站点设置</legend>
        @Html.HiddenFor(model => model.SiteinfoID)
        <div class="editor-label">
            @Html.LabelFor(model => model.SiteName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SiteName)
            @Html.ValidationMessageFor(model => model.SiteName)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.SiteUrl)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SiteUrl)
            @Html.ValidationMessageFor(model => model.SiteUrl)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.SiteMail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SiteMail)
            @Html.ValidationMessageFor(model => model.SiteMail)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Keyword)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Keyword)
            @Html.ValidationMessageFor(model => model.Keyword)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.SiteRecord)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SiteRecord)
            @Html.ValidationMessageFor(model => model.SiteRecord)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.LogonOverTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LogonOverTime)
            @Html.ValidationMessageFor(model => model.LogonOverTime)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.IsOpenAuthCode)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsOpenAuthCode)
            @Html.ValidationMessageFor(model => model.IsOpenAuthCode)
        </div>
        <p>
            <input type="submit" value="保存" />
        </p>
    </fieldset>
}
